import axios from '@/http/index'

// 分页获取接口调用日志
export function getAuditLog(currentPage = 1, take = 10, params = {}) {
  return axios({
    url: '/api/file-management/logs/api-audit/list',
    method: 'get',
    params: Object.assign(
      {
        skipCount: take * (currentPage - 1),
        maxResultCount: take
      },
      params
    )
  })
}
